package com.patterns.state;

/**
 * Context环境类
 * 维护订单状态
 * @author huangke
 *
 */
public class OrderStateContext {
	private OrderState state;

	public void setState(OrderState state) {
		this.state = state;
		state.handle();//修改状态后执行状态行为
	}
	
	

}
